/*
 * ui_typing.h
 *
 *  Created on: Sep 11, 2013
 *      Author: Ken Arok
 */

#ifndef UI_TYPING_H_
#define UI_TYPING_H_


#define KEY_TYPING_ALPHA_NUMERIC		1
#define KEY_TYPING_ALPHA				2
#define KEY_TYPING_NUMERIC				3
#define KEY_TYPING_PASSWORD				4
#define KEY_TYPING_NUMERIC_PLUS			5
#define KEY_TYPING_NUMERIC_TCPIP		6



/** \brief Inputing key alpha numeric from key button.
 *
 * \param _row				Row position of the beginning cursor.
 * \param _col				Column position of the beginning cursor.
 * \param _backspace		The backspace character.
 * \param _enter			The enter character.
 * \param _keyOption		The option of inputing.
 * \param _buffer			Pointer to the buffer where inputing key is stored.
 * \param _len				Maximum character of received input.
 *
 * \return Status.
 *	\retval	0		Inputing is OK.
 *	\retval 1		Error timer
 *	\retval 2		Cancel typing
 *	\retval	3		No input.
 *
 */
extern uint8_t vInputKeyAlphaNumeric(uint8_t _row, uint8_t _col, const char _backspace, const char _enter, uint8_t _keyOption, void *_buffer, uint16_t _len);



#endif /* UI_TYPING_H_ */
